Optimal. Leaf size=50 \[ \frac {x^2}{4 a}-\frac {x \sqrt {1-a^2 x^2} \text {ArcSin}(a x)}{2 a^2}+\frac {\text {ArcSin}(a x)^2}{4 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {4795, 4737, 30}
\begin {gather*} \frac {\text {ArcSin}(a x)^2}{4 a^3}-\frac {x \sqrt {1-a^2 x^2} \text {ArcSin}(a x)}{2 a^2}+\frac {x^2}{4 a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 4737
Rule 4795
Rubi steps
\begin {align*} \int \frac {x^2 \sin ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx &=-\frac {x \sqrt {1-a^2 x^2} \sin ^{-1}(a x)}{2 a^2}+\frac {\int \frac {\sin ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{2 a^2}+\frac {\int x \, dx}{2 a}\\ &=\frac {x^2}{4 a}-\frac {x \sqrt {1-a^2 x^2} \sin ^{-1}(a x)}{2 a^2}+\frac {\sin ^{-1}(a x)^2}{4 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 43, normalized size = 0.86 \begin {gather*} \frac {a^2 x^2-2 a x \sqrt {1-a^2 x^2} \text {ArcSin}(a x)+\text {ArcSin}(a x)^2}{4 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 40, normalized size = 0.80
method | result | size |
default | \(\frac {-2 a x \arcsin \left (a x \right ) \sqrt {-a^{2} x^{2}+1}+a^{2} x^{2}+\arcsin \left (a x \right )^{2}}{4 a^{3}}\) | \(40\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 56, normalized size = 1.12 \begin {gather*} \frac {1}{4} \, a {\left (\frac {x^{2}}{a^{2}} - \frac {\arcsin \left (a x\right )^{2}}{a^{4}}\right )} - \frac {1}{2} \, {\left (\frac {\sqrt {-a^{2} x^{2} + 1} x}{a^{2}} - \frac {\arcsin \left (a x\right )}{a^{3}}\right )} \arcsin \left (a x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.68, size = 39, normalized size = 0.78 \begin {gather*} \frac {a^{2} x^{2} - 2 \, \sqrt {-a^{2} x^{2} + 1} a x \arcsin \left (a x\right ) + \arcsin \left (a x\right )^{2}}{4 \, a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.28, size = 42, normalized size = 0.84 \begin {gather*} \begin {cases} \frac {x^{2}}{4 a} - \frac {x \sqrt {- a^{2} x^{2} + 1} \operatorname {asin}{\left (a x \right )}}{2 a^{2}} + \frac {\operatorname {asin}^{2}{\left (a x \right )}}{4 a^{3}} & \text {for}\: a \neq 0 \\0 & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 53, normalized size = 1.06 \begin {gather*} -\frac {\sqrt {-a^{2} x^{2} + 1} x \arcsin \left (a x\right )}{2 \, a^{2}} + \frac {\arcsin \left (a x\right )^{2}}{4 \, a^{3}} + \frac {a^{2} x^{2} - 1}{4 \, a^{3}} + \frac {1}{8 \, a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x^2\,\mathrm {asin}\left (a\,x\right )}{\sqrt {1-a^2\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________